package com.hzeport.bgs22emduty.inbound.lsapi;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzeport.bgs22emduty.config.login.LoginCompoentService;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.config.systemLog.OperLog;
import com.hzeport.bgs22emduty.entity.ScreenDutyMessage;
import com.hzeport.bgs22emduty.service.ScreenDutyMessageService;
import com.hzeport.bgs22emduty.service.ScreenMessageDistributeService;
import com.hzeport.bgs22emduty.vo.ScreenNotice.ScreenNoticeSaveVO;
import com.hzeport.bgs22emduty.vo.ls.ScreenDutyMessageSaveVO;
import com.hzeport.bgs22emduty.vo.ls.ScreenDutyNoticeListLSAnnoSaveVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import freemarker.template.TemplateException;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * ${comments}
 *
 * @author code generator
 * @date 2023-02-14 09:39:44
 */
@RestController
@AllArgsConstructor
@RequestMapping("/screendutymessageDistributels")
@Api(value = "screendutymessageDistributels", tags = "值班信息下发ls")
@Slf4j
@CrossOrigin
public class ScreenMessageDistributeLSController {

    private final ScreenMessageDistributeService screenMessageDistributeService;


    @ApiOperation(value = "保存")
    @RequestMapping(value = "savels",method = RequestMethod.POST)
    @OperLog(systemName = "ZBXX",description = "XXXZ")
    public BaseResult savels( @RequestBody ScreenDutyMessageSaveVO screenDutyMessageSaveVO , HttpServletRequest request ) {
        return screenMessageDistributeService.savels(screenDutyMessageSaveVO,request);
    }




}
